	/*
 * FreeBlock.h
 *
 *  Created on: Apr 19, 2011
 *      Author: Marc Kampherbeek
 */

#ifndef FREEBLOCK_H_
#define FREEBLOCK_H_
#include "Block.h"

class FreeBlock : public Block {
private:
	int nfree;
	long free[50];
public:
	FreeBlock(int nr, byte *data);
	int getSize() { return nfree; };
	long get();
	long* giveList() { return free; };
	void add(long l);
	void parseFreeBlock();
	virtual ~FreeBlock();
	void print();
	void printTree();
	void write();
};

#endif /* FREEBLOCK_H_ */
